﻿.intro {
    position: fixed;
    z-index: 10;
    overflow: hidden;
    width: 100%;
    height: 100%;
    /*background: #2a2e39;*/
    -webkit-transition: -webkit-transform 0.6s;
    transition: transform 0.6s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    /*background-image: url(../images/m1.png);
    background-repeat:no-repeat;
    filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
   -moz-background-size:100% 100%;
   background-size:100% 100%;*/
}

.container--open {
    /*background-image: url(../images/m.png);
    background-repeat:no-repeat;*/
}

    .container--open .intro {
        -webkit-transform: translate3d(0, -100%, 0) translate3d(0, 250px, 0);
        transform: translate3d(0, -100%, 0) translate3d(0, 40px, 0);
    }

/* Fullscreen image */
.intro__image {
    position: absolute;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
    transition: transform 0.6s, opacity 0.6s;
    -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
    transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.intro__round {
    position: absolute;
    top: 8%;
    left: 0;
    width: 65vw;
    height: 76vw;
    background-image: url(../images/文字名称.png);
    filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
    -moz-background-size: 100% 100%;
    background-size: 100% 100%;
}

.container--open .intro__image {
    opacity: 0;
    -webkit-transform: translate3d(0, 20%, 0);
    transform: translate3d(0, 20%, 0);
}

/* Intro content */
.intro__content {
    position: absolute;
    top: 0px;
    padding: 1.8em;
    width: 100%;
    font-size: 1.15em;
}

.intro__title {
    margin: 0 0 20px;
    font-weight: 900;
    font-size: 4em;
    font-family: "Playfair Display", Georgia, serif;
    line-height: 1;
}

.intro__subtitle {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}

.intro__description {
    margin: 0 auto 0 1em;
    line-height: 1.2;
}

/* Trigger button with SVG */
.trigger {
    position: relative;
    -webkit-flex: none;
    flex: none;
    overflow: hidden;
    margin: 0 0 0 20px;
    padding: 0;
    width: 40px;
    height: 40px;
    outline: none;
    border: none;
    background: none;
}

    /* Hide the text */
    .trigger span {
        position: absolute;
        top: 100%;
    }

.icon rect,
.icon line {
    stroke: #dbdbdb;
    fill: none;
    stroke-width: 2px;
}

.icon {
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

/* Hide grid and show cross when opening */
.icon--cross,
.trigger--active .icon--grid {
    opacity: 0;
    -webkit-transform: scale3d(0.5, 0.5, 1);
    transform: scale3d(0.5, 0.5, 1);
}

.trigger--active .icon--cross {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

/* Main content */
.items-wrap {
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 260px 5px 0;
}

    .items-wrap::after {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #2a2e39;
        content: '';
        opacity: 1;
        -webkit-transition: opacity 0.6s;
        transition: opacity 0.6s;
        -webkit-transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
        transition-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
        pointer-events: none;
    }

.container--open .items-wrap::after {
    opacity: 0;
}

.item {
    position: relative;
    -webkit-flex: 1 0 24%;
    flex: 1 0 24%;
    overflow: hidden;
    height: 22vw;
    outline: none;
    border: 5px solid rgba(0,0,0,0);
    border-width: 5px 5px 10px;
}

.annular {
    width: 100%;
    height: 22vw;
    width: 22vw;
    position: absolute;
    z-index: 1;
}

.item_content em {
    border-radius: 5px;
    height: 22vw;
    display: block;
    opacity: 0.3;
    background-color: rgb(255, 255, 255);
}

.item_content a:hover em {
    opacity: 0.8;
}

.item__image {
    position: absolute;
    top: 50%;
    min-height: 50%;
    width: 50%;
    /*opacity: 0.7;*/
    -webkit-transform: translate3d(50%, -50%, 0) scale3d(1.2, 1.2, 1);
    transform: translate3d(50%, -50%, 0) scale3d(1.2, 1.2, 1);
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
    margin: 0px auto;
    border-radius: 50%;
    /*width: 103px;
    height: 103px;*/
    /*position: relative;*/
}

.item:hover .item__image {
    opacity: 1;
    -webkit-transform: translate3d(50%, -50%, 0);
    transform: translate3d(50%, -50%, 0);
}

.item__title {
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    bottom: 5px;
    margin: 0 auto;
    /*padding: 1em;*/
    color: #000;
    font-size: 1.1em;
    font-family: 'Microsoft Yahei',Tahoma,Helvetica,Arial,sans-serif;
    line-height: 1;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
}

.item:hover .item__title {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);
}


/* Media Queries */

/*@media screen and (max-width: 1440px) {
	.item {
		-webkit-flex: 1 0 33.333%;
		flex: 1 0 33.333%;
		height: 30vw;
	}
}*/

@media screen and (max-width: 1440px) {
    .item {
        -webkit-flex: 1 0 50%;
        flex: 1 0 50%;
        height: 50%;
    }

    .annular {
        height: 47vw;
        width: 47vw;
    }

    .item_content em {
        height: 47vw;
    }

    .item,
    .intro__content {
        font-size: 0.85em;
    }
}

/*@media screen and (max-width: 590px) {
	.item {
		-webkit-flex: 1 0 100%;
		flex: 1 0 100%;
		height: 90vw;
	}

	.intro__title {
		font-size: 2em;
	}
}*/

.trigger {
    position: fixed;
    bottom: 10px;
    left: 50%;
    z-index: 150;
    width: 80vw;
    height: 1rem;
    margin-left: -40vw;
}

    .trigger img {
        position: absolute;
        top: 50%;
        left: 50%;
        margin: -7px 0 0 -14px;
        width: 24px;
        height: 14px;
        background-position: 0 -82px;
        -webkit-animation: start 1.5s infinite ease-in-out;
        -moz-animation: start 1.5s infinite ease-in-out;
        animation: start 1.5s infinite ease-in-out;
    }


.index-info {
    padding: 2% 2% 2% 2%;
    line-height: 150%;
    clear: both;
    font-size: 16px;
    text-align: justify;
}

@-webkit-keyframes start {
    0%,30% {
        opacity: 0;
        -webkit-transform: translate(0,10px);
    }

    60% {
        opacity: 1;
        -webkit-transform: translate(0,0);
    }

    100% {
        opacity: 0;
        -webkit-transform: translate(0,-8px);
    }
}

@-moz-keyframes start {
    0%,30% {
        opacity: 0;
        -moz-transform: translate(0,10px);
    }

    60% {
        opacity: 1;
        -moz-transform: translate(0,0);
    }

    100% {
        opacity: 0;
        -moz-transform: translate(0,-8px);
    }
}

@keyframes start {
    0%,30% {
        opacity: 0;
        transform: translate(0,10px);
    }

    60% {
        opacity: 1;
        transform: translate(0,0);
    }

    100% {
        opacity: 0;
        transform: translate(0,-8px);
    }
}

@media screen and (max-height: 490px) {
    .index-info {
        font-size: 12px;
    }
}

@media screen and (max-height: 550px) and (min-height:490px) {
    .index-info {
        font-size: 14px;
    }
}
